import http from '../utils/http'
// 获取我的课程列表
export const getRecommendCourseList = (data:{pageNum?:number,pageSize?:number,schoolId?:number,search?:string})=>{
  return http({
    method:"GET",
    data,
    url:`/user/course/courseList`
  })
}
//获取推荐课程详情
export const getRecommendDetail = (data:{serialId:number})=>{
  return http({
    method:"GET",
    data,
    url:`/user/course/courseSeriesDetail`
  })
}
//获取推荐系列课程详情
export const getSeriesDetail = (data:{serialId:number})=>{
  return http({
    method:"GET",
    data,
    url:`/user/course/courseSeriesDetail`
  })
}
